package com.octnote.service;

import com.octnote.domain.contacts.Contacts;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by leohehe on 2017/6/16.
 */
public interface ContactsService {
    Page<Contacts> getContacts(String searchPhrase, Pageable p);

    List<Contacts> syncContacts(List<Contacts> contactsList);
}
